package com.TestDemo.Test202203To04;

import com.TempletGenerate.IntNumGenerate;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2022/05/23/13:59
 * @Description:
 * @Target:
 */
public class 中文字符生成 {


    // 0x4e00–0x9fbb 为中文字符  -- 50673

    public static void main(String[] args) {
    /*    IntNumGenerate intNumGenerate = new IntNumGenerate();
        int[] ints1 = intNumGenerate.RandomInt(50, 0, 50);

        for (int anInt : ints1) {
            System.out.print(anInt+",");
        }*/

        for (int i = 0; i < 600; i++) {
            int i1 = RandomInt(0, 50673);
            char cha = 0x4e01;
            cha += 5011+i;
            System.out.print((char) cha);
            if (i%100==0&&i!=0){
                System.out.println();
            }
        }

    }





    // 可直接用了!
    static int RandomInt(int min,int max){


      int i = min + (int)(Math.random()*(max-min+1));

        return i;
    }

}
